<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 001
  Date: 2017/6/12
  Time: 19:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<table>
  <tr>
    <td>id</td>
    <td>username</td>
    <td>password</td>
    <td>sex</td>
    <td>age</td>
    <td>sdept</td>
  </tr>
<c:forEach items="${users}" var="user">
<tr>
  <td>${user.id}</td>
  <td>${user.username}</td>
  <td>${user.password}</td>
  <td>${user.sex}</td>
  <td>${user.age}</td>
  <td>${user.sdept}</td>
</tr>
</c:forEach>
</table>
</body>
</html>
